package com.yunche.iov.mapper;

import com.yunche.iov.entity.CameraPhoto;
import com.yunche.iov.entity.CameraPhotoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CameraPhotoMapper {
    int countByExample(CameraPhotoExample example);

    int deleteByExample(CameraPhotoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CameraPhoto record);

    int insertSelective(CameraPhoto record);

    List<CameraPhoto> selectByExample(CameraPhotoExample example);

    CameraPhoto selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CameraPhoto record, @Param("example") CameraPhotoExample example);

    int updateByExample(@Param("record") CameraPhoto record, @Param("example") CameraPhotoExample example);

    int updateByPrimaryKeySelective(CameraPhoto record);

    int updateByPrimaryKey(CameraPhoto record);
}